package com.ruikong.dazhi.dao.basicinfo;


import com.ruikong.dazhi.entity.basicinfo.Supplier;
import com.ruikong.dazhi.model.input.BasePageInput;

import java.util.List;


public interface SupplierMapper {

    List<Supplier> getListSearch(BasePageInput input);

    Supplier queryById(Integer id);

    List<Supplier> getList();

    int insert(Supplier supplier);

    int deleteById(Supplier supplier);

    int update(Supplier supplier);

    int isExist(int id, String supplier_name);

    Supplier getSupplierByName(String supplier_name);
}
